AdLesson 
EntityType  Independent 
Logical Entity Name  AdLesson 
Default Table Name  AdLesson 
Logical Only  NO 
Owner  dbo 
Definition 
 
Note 
 

AdLesson Attributes 
Attribute/Logical Rolename  Domain  Datatype  NULL  Definition 
AdLessonID(PK)    INTEGER  NO 
 
Name    NVARCHAR(300)  NO 
 
Code    NVARCHAR(16)  NO 
 
CampusGroupId(FK)    INTEGER  NO 
 
Active    BIT  NO 
 
LessonTypeId(FK)    INTEGER  NO 
 
PercentOfFinal    NUMERIC(5, 4)  NO 
 
AllowRetake    BIT  YES 
 
MaxRetakeAttempts    INTEGER  YES 
 
Notes    NVARCHAR(max)  YES 
 
AddedByUserID    INTEGER  NO 
 
DateAdded    DATETIME  NO 
 
DateLstMod    DATETIME  NO 
 
ModifiedByUserID    INTEGER  NO 
 
ts    TIMESTAMP/DATE  NO 
 

AdLesson Keys 
Key Name  Key Type  Keys 
PK_AdLesson_AdLessonID  PrimaryKey  AdLessonID 
NK_AdLesson_SyCampusGrpID_AdLessonTypeID  Inversion Entry  CampusGroupId, LessonTypeId 

AdLesson Relationships 
Parent Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype 
LessonType  Non-Identifying  One To Zero or More        LessonTypeId  NO 
CampusGroup  Non-Identifying  One To Zero or More        CampusGroupId  NO 
Child Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype 
AdLessonSkill  Non-Identifying  One To Zero or More          NO 

AdLesson Check Constraints 
Check Constraint Name  CheckConstraint 

AdLesson Where Used - Model Usage 
Mapped Object  Is User Defined?  Denormalization Mappings  Description  Bound Attachments 
Logical
dbo.AdLesson 
NO       
Physical (Microsoft SQL Server)
dbo.AdLesson 
NO       

AdLesson Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
Physical (Microsoft SQL Server)  Main Model 

AdLesson Data Movement Rules 
Name  Type  Rule Text/Value